import { http } from "@/utils/http";

type ListResult = {
  code: number;
  message: string;
  list: Array<any>;
};

export function getName(params?: object): Promise<any> {
  return http.request({
    url: "/limao/applet/getAllAgreementName",
    method: "get",
    params
  });
}

export function getInfo(params?: object): Promise<any> {
  return http.request({
    url: "/limao/applet/getUserAgreement",
    method: "get",
    params
  });
}
